package com.frogs.ucenter.service.daoimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserHonorTypeDao;
import com.frogs.ucenter.entity.UserHonorType;
import com.frogs.ucenter.service.UserHonorTypeService;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userHonorTypeService")
public class UserHonorTypeServiceImpl extends BaseServiceImpl<UserHonorType> implements UserHonorTypeService {
    @Autowired
    private UserHonorTypeDao userHonorTypeDao;

    public UserHonorTypeServiceImpl() {
        super();
    }

    public UserHonorTypeDao getUserHonorTypeDao() {
        return userHonorTypeDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserHonorType> getBaseDao() {
        return userHonorTypeDao;
    }

    public void setUserHonorTypeDao(UserHonorTypeDao userHonorTypeDao) {
        this.userHonorTypeDao = userHonorTypeDao;
    }
}